export const showNameMixin = {
    methods: {
        showName() {
            alert(this.name)
        }
    },
}

export const xyMixin = {
    data() {
        return {
            x: 110,
            y: 120
        }
    }
}

export const mountedMixin = {
    mounted() {
        console.log('mixin mounted')
    }
}